<%@ page session="true" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ include file="header.inc" %>

<f:view>
  
  <h:form id="form">
    <f:verbatim>
      <h1>Login</h1>
    </f:verbatim>
    
    <h:panelGrid columns="2">
      <h:outputText value="Benutzername"></h:outputText>
      <h:inputText value="#{wSession.username }" />
      
      <h:outputText value="Passwort"></h:outputText>
      <h:inputSecret value="#{wSession.password }" /> 
    </h:panelGrid>
    
    <h:commandButton value="Submit" action="#{wSession.login}"/>
  
  </h:form>
</f:view>

<%@ include file="footer.inc" %>